/**
 * Created by 江成 on 2017/03/05.
 */
define(function (require) {
  // 定义路由表
  var routeTable = {
    instanceInfo: {// 待办详情界面
      html: 'pages/workflow/instance/common/instanceInfo.html',
      js: 'pages/workflow/instance/common/instanceInfo.js'
    },
    instanceInfoLite: {// 已办/办结/发起-办理中/发起-已办结详情页面
      html: 'pages/workflow/instance/common/instanceInfoLite.html',
      js: 'pages/workflow/instance/common/instanceInfoLite.js'
    },
    taskpoolinfo: {// 任务池详情页面
      html: 'pages/workflow/bench/taskpool/taskpoolinfo.html',
      js: 'pages/workflow/bench/taskpool/taskpoolinfo.js'
    },
    gatherHandlePage: {// 会办详情页面
      html: 'pages/workflow/instance/metting/mettingPage.html',
      js: 'pages/workflow/instance/metting/mettingPage.js'
    },
    nwfTrack: {// 流程轨迹页面
      html: 'pages/workflow/demo/nwftrack/nwftrack.html',
      js: 'pages/workflow/demo/nwftrack/nwftrack.js'
    },
    runInstanceInfo: {// 运行实例详情页面
      html: 'pages/workflow/instance/monitorinfo/runInstanceInfo.html',
      js: 'pages/workflow/instance/monitorinfo/runInstanceInfo.js'
    },
    exampleInfo: {// 示例业务页面
      html: 'pages/workflow/demo/bizpage/exampleInfo.html',
      js: 'pages/workflow/demo/bizpage/exampleInfo.js'
    }
  };
  // 注册路由表
  yufp.router.addRouteTable(routeTable);
});